package com.coder.shop.dao.model;

import java.io.Serializable;
import java.util.Date;

/**
 * 验证码
 * @author liuzm
 *
 */
public class BaseMsgCode implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 195265131280319965L;

	/**
	 * 已使用
	 */
	public static final int STATUS_USED = 1;
	
	/**
	 * 未使用
	 */
	public static final int STATUS_NO_USE = 0;
    
	private String code;
	
	private String phone;
	
	/**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 更新时间
     *
     * @mbg.generated
     */
    private Date lastUpdateTime;
    
    private Date thruTime;
    
    private int status;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getLastUpdateTime() {
		return lastUpdateTime;
	}

	public void setLastUpdateTime(Date lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	public Date getThruTime() {
		return thruTime;
	}

	public void setThruTime(Date thruTime) {
		this.thruTime = thruTime;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}
    
}